﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using UnityEngine.UI;
using DG.Tweening;

class TutorialSmallPersonPage : UIMonoBehaviour
{
    public Transform PosEnd;
    public Image xinshouyingdao_xiaoren_huishou;
    public Transform PosStart;

    public void Awake()
    {
        InitChildPath();
    }
    public void InitChildPath()
    {
        PosEnd = transform.Find("PosEnd");
        xinshouyingdao_xiaoren_huishou = transform.Find("xinshouyingdao_xiaoren_huishou").GetComponent<Image>();
        PosStart = transform.Find("PosStart");
    }

    public void Start()
    {
        xinshouyingdao_xiaoren_huishou.transform.localPosition = PosStart.transform.localPosition;
        xinshouyingdao_xiaoren_huishou.transform.DOLocalMove(PosEnd.localPosition, 1);
    }

    public void StartMove()
    {
        
    }
}

